import {
	req
} from '../../utils/req.js';
export default {
	// 店铺详情
	storeInfo(param) {
		return req.get("farm/app/IndexStore/storeInfo", param)
	},
	// 编辑店铺
	storeUpdate(param) {
		return req.post("farm/app/IndexStore/storeUpdate", param)
	},
	// 商品分类列表
	goodsCateList(param) {
		return req.get("farm/app/IndexStore/goodsCateList", param)
	},
	// 商品分类详情
	goodsCateInfo(param) {
		return req.get("farm/app/IndexStore/goodsCateInfo", param)
	},
	// 新增商品分类
	goodsCateAdd(param) {
		return req.post("farm/app/IndexStore/goodsCateAdd", param)
	},
	// 编辑商品分类
	goodsCateUpdate(param) {
		return req.post("farm/app/IndexStore/goodsCateUpdate", param)
	},
	// 商品数量
	goodsCount(param) {
		return req.get("farm/app/IndexStore/goodsCount", param)
	},
	// 商品列表
	goodsList(param) {
		return req.get("farm/app/IndexStore/goodsList", param)
	},
	// 商品详情
	goodsInfo(param) {
		return req.get("farm/app/IndexStore/goodsInfo", param)
	},
	// 新增商品
	goodsAdd(param) {
		return req.post("farm/app/IndexStore/goodsAdd", param)
	},
	// 编辑商品
	goodsUpdate(param) {
		return req.post("farm/app/IndexStore/goodsUpdate", param)
	},
	// 关联农场
	goodsFarmerSelect(param) {
		return req.get("farm/app/IndexStore/goodsFarmerSelect", param)
	},
	// 关联溯源
	goodsSourceSelect(param) {
		return req.get("farm/app/IndexStore/goodsSourceSelect", param)
	},
	// 关联农场
	goodsFarmerSelect(param) {
		return req.get("farm/app/IndexStore/goodsFarmerSelect", param)
	},
	// 上下架/删除商品
	goodsStatusUpdate(param) {
		return req.post("farm/app/IndexStore/goodsStatusUpdate", param)
	},
	// 批量操作商品
	someGoodsUpdate(param) {
		return req.post("farm/app/IndexStore/someGoodsUpdate", param)
	},
	// 订单管理
	orderList(param) {
		return req.get("farm/app/IndexStore/orderList", param)
	},
	// 订单详情
	orderInfo(param) {
		return req.get("farm/app/IndexStore/orderInfo", param)
	},
	// 移交农场
	distributionOrderFarmer(param) {
		return req.post("farm/app/IndexStore/distributionOrderFarmer", param)
	},
	// 退款管理
	refundOrderList(param) {
		return req.get("farm/app/IndexStore/refundOrderList", param)
	},
	// 退款详情
	refundOrderInfo(param) {
		return req.get("farm/app/IndexStore/refundOrderInfo", param)
	},
	// 同意退款
	passRefund(param) {
		return req.post("farm/app/IndexStore/passRefund", param)
	},
	// 拒绝退款
	noPassRefund(param) {
		return req.post("farm/app/IndexStore/noPassRefund", param)
	},
	// 申请提现
	applyWallet(param) {
		return req.post("farm/app/IndexStore/applyWallet", param)
	},
}
